package com.hlhj.funlike_businessqzxd.presenter

import android.content.Context
import com.example.mymvp.mvp.BasePresenter
import com.example.mymvp.okrx.BaseBean
import com.hlhj.funlike_businessqzxd.moudle.ChangePwdModule
import com.hlhj.funlike_businessqzxd.views.ChangePwdView

class ChangePwdPresenter:BasePresenter<ChangePwdModule,ChangePwdView>(), ChangePwdView {
    override fun setChangeResult(baseBean: BaseBean) {
        view?.setChangeResult(baseBean)
    }

    fun changeP(c: Context, old_pass:String, user_pass:String, user_reppass:String){
        module.changeP(c, old_pass, user_pass, user_reppass)
    }
    override fun createModule() {
        module=ChangePwdModule()
        module.lis=this
    }
}